package com.bh.ly.oa.util;

import java.util.List;

import org.apache.http.client.CookieStore;
import org.apache.http.cookie.Cookie;
import org.apache.http.impl.client.BasicCookieStore;

public class Config {

	public static List<Cookie> cookies;
	public static String suppliercode;
	public  static CookieStore cookieStore = new BasicCookieStore();
	public static String domain="http://220.167.144.154:80/";
	//public static String domain="http://183.185.213.110:8088/";
	public static String requestDataName="requestData";
	
	//登陆
	public static String LOGIN_URL="login/login.do?requestData=";
	//新订单列表
	public static String newOderlist="bill/listOrder.do?requestData=";
	//订单列表详细
	public static String orderDetail="bill/listOrderDtl.do?requestData=";
	//退单列表
	public static String listBilReturnfac="bill/listBilReturnfac.do?requestData=";
	//门店销售明细
	public static String listGoodsSaleDept="report/listGoodsSaleDeptDtl.do?requestData=";
	//销售日报
	public static String listSupplierSaleDaily="report/listSupplierSaleDaily.do?requestData=";
	//通知公告
	public static String listAnnouncement="message/listAnnouncement.do?requestData=";
	//证照查询
	public static String listSupplierCertificate="info/listSupplierCertificate.do?requestData=";
	
	public static String uploadfileUrl="UploadSupplierCertificate";
	public static String  getStatus(int parseInt) {
		switch (parseInt) {
		case 0:
			return "未查看";
		case 1:
			return "未预约";
		case 2:
			return "预约";
		case 3:
			return "预约通过";
		case 4:
			return "已发货";
		case 5:
			return "已收货";
		default:
			return "已作废";
		}
	}
}
